<%include header%>
<div class="touxiang"><%if(user.txname){%>
    <img src="images/<%= user.txname%>" alt="<%= user.name%>">
    <%}else{%>
    <img src="images/defu.png" alt="？？？">
    <%}%>
    <span style="font-size: 18px;vertical-align: top;"><%= user.name %></span>
</div>
<form method="post" enctype="multipart/form-data">
    <input type="file" name="photo">
    <input type="submit" value="上传头像">
</form>
<div>用户名：<%= user.name %></div>
<div>邮箱: <%= user.email %></div>
<%include footer%>